//
//  SEGDailyContentModel.m
//  SEGUhomeSommunitySocial
//
//  Created by 揭婧雯 on 2019/4/11.
//  Copyright © 2019 刘山. All rights reserved.
//

#import "SEGDailyContentModel.h"

@implementation SEGDailyContentModel

- (instancetype)initWithDictionary:(NSDictionary*)dictionary
{
    self = [super init];
    if (self) {
        _recommendId = @"";
        _userId = @"";
        _communityName = @"";
        _commentTime = @"";
        _objTitle = @"";
        _image = @"";
        _communityId = @"";
        _objId = @"";
        _commentContent = @"";
        _creator = @"";
        _objType = @"";
        [self setValuesForKeysWithDictionary:dictionary];
    }
    return self;
}
+ (instancetype)initWithDictionary:(NSDictionary*)dictionary
{
    return [[self alloc] initWithDictionary:dictionary];
}
- (void)setValue:(id)value forUndefinedKey:(NSString*)key
{}
- (void)setRecommendId:(NSString*)recommendId{
    _recommendId = [[SEGUtils ValueToString:recommendId]copy];
}
- (void)setUserId:(NSString*)userId{
    _userId = [[SEGUtils ValueToString:userId]copy];
}
- (void)setCommunityName:(NSString*)communityName{
    _communityName = [[SEGUtils ValueToString:communityName]copy];
}
- (void)setCommentTime:(NSString*)commentTime{
    _commentTime = [[SEGUtils ValueToString:commentTime]copy];
}
- (void)setObjTitle:(NSString*)objTitle{
    _objTitle = [[SEGUtils ValueToString:objTitle]copy];
}
- (void)setImage:(NSString*)image{
    _image = [[SEGUtils ValueToString:image]copy];
}
- (void)setCommunityId:(NSString*)communityId{
    _communityId = [[SEGUtils ValueToString:communityId]copy];
}
- (void)setObjId:(NSString*)objId{
    _objId = [[SEGUtils ValueToString:objId]copy];
}
- (void)setCommentContent:(NSString*)commentContent{
    _commentContent = [[SEGUtils ValueToString:commentContent]copy];
}
- (void)setCreator:(NSString*)creator{
    _creator = [[SEGUtils ValueToString:creator]copy];
}
- (void)setObjType:(NSString*)objType{
    _objType = [[SEGUtils ValueToString:objType]copy];
}

@end
